/* 头部区域 */
.header {
    height: 100px;
    background-color: #fff;
}

/*  内包围-版心 居中 */
.header .wrapper {
    padding-top: 29px;
    display: flex;
}

/* logo */
.header .logo a {
    display: block;
    width: 195px;
    height: 41px;
    background-image: url(../images/logo-s.png);
}

/* nav导航 */
.header .nav {
    margin-left: 70px;
}
.header .nav ul {
    display: flex;
}
.header .nav li {
    margin-right: 10px;
}
.header .nav li a {
    font-size: 19px;
    padding: 8px;
    line-height: 41px;
}
.header .nav li a:hover {
    border-bottom: 4px solid #00a4ff;
}

/* 搜索 */
.header .search {
    width: 400px;
    height: 40px;
    background-color: #f3f5f7;
    margin-left: 80px;
}
.header .search input {
    width: 400px;
    height: 40px;
    /* 背景色透明 */
    background-color: transparent;
    background-image: url('../images/search.png');
    background-repeat: no-repeat;
    background-position: 370px 14px;
    /* 自带边框为0不显示 */
    border: 0;
    padding-left: 20px;
    padding-right: 30px;
    /* 去掉点击之后显示的黑色边框 */
    outline: 0;
}

/* 用户模块 */
.header .user {
    margin-top: 5px;
    margin-left: 10px;
}
.header .user img {
    /* 让文字和图片垂直居中对齐 */
    vertical-align: middle;
    margin: 0px 5px;
}

.header .user span {
    color: #666666;
}



/* banner区域 */
.banner {
    height: 420px;
    background-color: #0092cb;
}
/* 背景图片 */
.banner .wrapper {
    height: 420px;
    background: url(../uploads/banner.png);
    display: flex;
    /* 主轴两侧对齐 */
    justify-content: space-between;
    /* 侧轴居中 */
    align-items: center;
}
/* 左边区域 */
.banner .left {
    padding: 3px 20px;
    width: 191px;
    height: 420px;
    /*背景半透明*/
    background-color: rgba(0, 0, 0, 0.42);
}
.banner .left a {
    /* 块级：宽度是父级的100% */
    display: block;
    height: 46px;
    background: url(../images/right.png) no-repeat right center;
    line-height: 46px;
    font-size: 16px;
    color: #fff;
}
.banner .left a:hover {
    background-image: url(../images/right-hover.png);
    color: #00a4ff;
}
/* 右边课程表区域 */
.banner .right {
    margin-top: 60px;
    width: 218px;
    height: 305px;
    background-color: #209dd5;
    border-radius: 10px;
}
.banner .right h3 {
    margin-left: 14px;
    height: 48px;
    line-height: 48px;
    font-size: 15px;
    color: #fff;
    font-weight: 400;
}
/* 课表内容 */
.banner .right .content {
    padding: 14px;
    height: 257px;
    background-color: #fff;
    border-radius: 10px;
}
.banner .right dl {
    margin-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
}
.banner .right dt {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
}
.banner .right dd {
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 16px;
}
.banner .right dd span {
    color: #00a4ff;
}
.banner .right dd strong {
    color: #7d7d7d;
    font-weight: 400;
}
.banner .right a {
    display: block;
    height: 32px;
    background-color: #00a4ff;
    text-align: center;
    line-height: 32px;
    font-size: 14px;
    color: #fff;
    border-radius: 15px;
}

/* 精品推荐 */
.recommend {
    display: flex;
    margin-top: 11px;
    padding: 0 20px;
    height: 60px;
    background-color: #fff;
    box-shadow: 0px 1px 2px 0px rgba(211, 211, 211, 0.5);
    line-height: 60px;
}
.recommend h3 {
    font-size: 18px;
    color: #00a4ff;
    font-weight: 400;
  }
  
  .recommend ul {
    /* 除去标题和修改兴趣的尺寸，父级剩余尺寸都给ul，实现把修改兴趣挤到最右侧 */
    flex: 1;
    display: flex;
  }
  
  .recommend ul li a {
    padding: 0 24px;
    border-right: 1px solid #e0e0e0;
    font-size: 18px;
  }
  
  .recommend ul li:last-child a {
    border-right: 0;
  }
  
  .recommend .modify {
    font-size: 16px;
    color: #00a4ff;
  }


/* 推荐课程 */
.course {
    margin-top: 15px;
  }
  
  /* 标题 - 公共类，与其他区域共用 */
  .hd {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    height: 60px;
    line-height: 60px;
  }
  
  .hd h3 {
    font-size: 21px;
    font-weight: 400;
  }
  
  .hd .more {
    padding-right: 20px;
    background: url(../images/more.png) no-repeat right center;
    font-size: 14px;
    color: #999;
  }
  .bd ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .bd li {
    margin-bottom: 14px;
    width: 228px;
    height: 271px;
    background-color: pink;
  }

  .bd li .pic {
    height: 156px;
  }
  
  .bd li .text {
    padding: 20px;
    height: 115px;
    background-color: #fff;
  }
  
  .bd li .text h4 {
    margin-bottom: 13px;
    height: 40px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
  }
  
  .bd li .text p {
    font-size: 14px;
    line-height: 20px;
    color: #999;
  }
  
  .bd li .text p span {
    color: #fa6400;
  }
  
  .bd li .text p i {
    font-style: normal;
  }

  /* 前端 */
.wrapper{
    width: 1200px;
    margin: 0px auto;
}
.hd ul {
    display: flex;
  }
  
  .hd li {
    margin-right: 60px;
    font-size: 16px;
  }
  
  .hd li .active {
    color: #00a4ff;
  }
  
  .bd {
    display: flex;
    justify-content: space-between;
  }
  
  .bd .left {
    width: 228px;
  }
  
  .bd .right {
    width: 957px;
  }
  
  .bd .right .top {
    margin-bottom: 15px;
    height: 100px;
  }


/* 版权 */
.footer {
    margin-top: 60px;
    padding-top: 60px;
    height: 273px;
    background-color: #fff;
  }
  
  .footer .wrapper {
    display: flex;
    justify-content: space-between;
  }
  
  .footer .left {
    width: 440px;
    background-color: #fff;
  }
  .footer .left p {
    margin-top: 24px;
    margin-bottom: 14px;
    font-size: 12px;
    line-height: 17px;
    color: #666;
  }
  
  .footer .left .download {
    display: block;
    width: 120px;
    height: 36px;
    border: 1px solid #00a4ff;
    text-align: center;
    line-height: 34px;
    font-size: 16px;
    color: #00a4ff;
  }
  
  .footer .right {
    display: flex;
  }
  
  .footer .right dl {
    margin-left: 130px;
  }
  
  .footer .right dt {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 23px;
  }
  
  .footer .right a {
    font-size: 14px;
    color: #666;
    line-height: 24px;
  }